#pragma once
#include <iostream>
#include <stdlib.h>

using namespace std;


class Stack
{
public:
	void Init();
	void Push(int x);

	Stack();
	~Stack();


private:
	int* _a;
	int _top;
	int _capacity;
};



